<?php

namespace App\Interfaces;

interface RoleInterface
{
    public function getUserRoles(array $arr);

    public function getAllRoles();

    public function getRolePage(array $params = [], int $page = 1, int $limit = 10);

    public function getRoleById(int $id);

    public function updateRoleById(int $id, array $data);

    public function createRole(array $data);

    public function updateBatch(array $roleIds, array $data);
}
